package com.jindy.module.oaImprestApproval.mapper;

import java.util.List;
import com.jindy.module.oaImprestApproval.domain.SyOaImprest;

/**
 * 备用金审批Mapper接口
 * 
 * @author jindy
 * @date 2023-06-01
 */
public interface SyOaImprestMapper 
{
    /**
     * 查询备用金审批
     * 
     * @param id 备用金审批主键
     * @return 备用金审批
     */
    public SyOaImprest selectSyOaImprestById(Long id);

    /**
     * 查询备用金审批列表
     * 
     * @param syOaImprest 备用金审批
     * @return 备用金审批集合
     */
    public List<SyOaImprest> selectSyOaImprestList(SyOaImprest syOaImprest);

    /**
     * 新增备用金审批
     * 
     * @param syOaImprest 备用金审批
     * @return 结果
     */
    public int insertSyOaImprest(SyOaImprest syOaImprest);

    /**
     * 修改备用金审批
     * 
     * @param syOaImprest 备用金审批
     * @return 结果
     */
    public int updateSyOaImprest(SyOaImprest syOaImprest);

    /**
     * 删除备用金审批
     * 
     * @param id 备用金审批主键
     * @return 结果
     */
    public int deleteSyOaImprestById(Long id);

    /**
     * 批量删除备用金审批
     * 
     * @param ids 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteSyOaImprestByIds(Long[] ids);
}
